package Class.Advance.Final.Basis;

public class Test /*extends Student无法继承*/{
    public static void main(String[] args) {
        final int A = 10;
        //A = 10;   无法修改
        final STUDENT STU1 = new STUDENT();
        //可修改对象内部数据
        STU1.setName("Jack");
        STU1.setAge(18);
        System.out.println(STU1);
        //STU1 = new STUDENT(); 无法修改
    }
}
